<?php echo $this->Session->flash(); ?>
<?php $bloqueo = $this->Session->read('bloqueo_avaluo'); ?>
<?php echo $form->create('Annex'); ?>
<table border="0">

    <tbody>

        <tr>
            <td><?php echo $form->input('Annex.valor_adoptado', array('label' => 'Valor adoptado')); ?></td> 

        </tr>
    </tbody>
</table>

<div id="loadanex" style="display: none;">
    <?php echo $html->image('loading.gif', array('border' => "0", 'align' => 'center')); ?>
</div>
<?php
if ($bloqueo == "No")
    echo $ajax->submit('Guardar', array('url' => array('controller' => 'Annexes', 'action' => 'edit_valor', $this->data['Annex']['id']), 'update' => 'val_anexos', 'complete' => '', 'indicator' => 'loadanex'));
echo $form->end();
echo $ajax->link("Regresar", array('controller' => 'PropertyAppraisals', "action" => "Annexs_valor_index"), array('update' => 'val_anexos', 'complete' => '', 'indicator' => 'loadanex'));
?>
